<script type="text/javascript">
  var contextPath = '${pageContext.request.contextPath}';
  var locale = '${locale}';

  function url(url) {
    return contextPath + url;
  }

  function icImg(url) {
    return 'http://www.eggcharge.com/images' + url;
  }
</script>

